export default {
  //正则
  verify(obj, Rex) {
    if (Rex.test(obj)) {
      return {
        class: "form-control is-valid",
        text: "",
        status:true
      };
    } else {
      return {
        class: "form-control is-invalid",
        text: "输入错误",
        status:false
      };
    }
  },

}